<?php
require __DIR__.'/../../bootstrap/autoload.php';
require_once __DIR__.'/../../bootstrap/start.php';
require_once Config::get('constants.LIBRARIES_PATH') . "\\response-util.php";

$requestData = GetRequestData();
$action = $_GET['action'];

if ($action == 'get-game-round-deck')
{
	$response = Card::GetShuffledDeck();
}
else if ($action == 'post-game-player-card')

/* -------- UNKNOWN ACTION -------- */
else
  SendErrorResponse('Invalid Action');

//if ($form && $form->HasErrors())
//  SendFormsErrorResponse($form->GetErrors());


SendResponse($response);

?>